#pragma once

class GameOver
{
public:
	static GameOver & GetInstance()
	{
		static GameOver gameOver;
		return gameOver;
	}

     bool IsGameOver();
     void SetGameOver();
private:
     GameOver();
     ~GameOver(){}
	GameOver( GameOver const & );
	void operator=( GameOver const & );

private:
     bool mGameOver;
};

inline GameOver::GameOver() : mGameOver ( false )
{
}

inline bool GameOver::IsGameOver()
{
     return mGameOver;
}

inline void GameOver::SetGameOver()
{
     mGameOver = true;
}



